home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / bbs / mxl214b.zip / ARCHIVER.CFG next >
Text File  |  1996-01-01  |  4KB  |  142 lines

  1. ; ========================================
  2. ;  Sampleconfiguration for the archiver
  3. ; ========================================
  4. ;
  5. ; Archiverdefinitions
  6. ;
  7. ;   The integrated archiversupport of MaxList can each archiver use,
  8. ;   which are on the market itself or still is developed.
  9. ;   Through a low number of parameters the archiver becomes to use.
  10. ;   The format of this definition is 100% identical with Squish
  11. ;   Compress.cfg
  12. ;
  13. ; Archiver, End Archiver
  14. ;   Syntax: ARCHIVER    <Name>          
  15. ;
  16. ;   <name> is a short description of the archiver. This name is used
  17. ;   as reference for this.
  18. ;   Each definition begins with ARCHIVER <name> and stops at END ARCHIVER.
  19. ;
  20. ; Extension
  21. ;   Syntax: EXTENSION   <Ext>
  22. ;
  23. ;   With this, you can select an EXTension for the archiver.
  24. ;   Whenever MaxList will compress a filelist, this EXTension is used
  25. ;   for the packed file.
  26. ;
  27. ; Ident
  28. ;   Syntax: IDENT       <Offset, Signature>
  29. ;
  30. ;   Over this both parameters, MaxList will detect the archivertype.
  31. ;   <Offset> can hold a positive or negative numerical parameter.
  32. ;   This presents the number of bytes to the signature of archive.
  33. ;   When you use a positive offset, the signature search is started from
  34. ;   begin of file, otherwise (negative offset) from the end of file. The
  35. ;   first position in file is identical with offset = 0, the end with -0.
  36. ;
  37. ;   Signature must be defined as a sequenz of HEXADECIMAL characters.
  38. ;   For each byte, you MUST use two characters.
  39. ;   Do NOT insert blanks between each character!
  40. ;
  41. ; Add
  42. ;   Syntax: ADD     <Progname [Parameter] %a %f>
  43. ;
  44. ;   With the ADD entry, you define the program and parameters which
  45. ;   MaxList use, when a packing is executed.
  46. ;   The macros %a and %f must be define always.
  47. ;   Those parameters (%a archive and %f filename) are replaced, before call.
  48. ;
  49. ; Extract
  50. ;   Syntax: EXTRACT <Progname [Parameter] %a %f>
  51. ;
  52. ;   With this token, you define the program and needed parameters for
  53. ;   extract a file from archive.
  54. ;   The macros %a and %f must be define always.
  55. ;   Those parameters (%a archive and %f filename) are replaced, before call.
  56. ;
  57. ; View
  58. ;   Syntax: VIEW    <Progname [Parameter] %a>
  59. ;
  60. ;   Not used by MaxList. Only for compatibility.
  61. ;
  62. ; ! HINT !
  63. ;   You can add the token DOS or OS2 before each line.
  64. ;   So you can define the archiver for DOS and OS/2 in the same block / file.
  65. ;   If MaxList running under DOS, all lines which starts with OS2 are still
  66. ;   ignored, when reading the config.
  67. ;
  68. Archiver ARC
  69.     Extension       ARC
  70.     Ident           0, 1a
  71.     OS2 Add         arc2 aw5 %a %f
  72.     DOS Add         arc a5 %a %f
  73.     OS2 Extract     arc2 xw %a %f
  74.     DOS Extract     pkxarc -x %a %f
  75. End Archiver
  76. ;
  77. DOS Archiver PAK
  78.     DOS Extension   PAK
  79.     DOS Ident       -2, fe
  80.     DOS Add         pak a %a %f
  81.     DOS Extract     pak e /wn %a %f
  82. DOS End Archiver
  83. ;
  84. Archiver ZIP
  85.     Extension       ZIP
  86.     Ident           0, 504b0304         ; "PK^c^d"
  87.     DOS Add         pkzip -a %a %f
  88.     OS2 Add         zip -jk %a %f
  89.     DOS Extract     pkunzip -n %a %f
  90.     OS2 Extract     unzip -n -j %a %f
  91. ;
  92. ; HINT !
  93. ;   for never version of OS/2 Unzip (greater 5.01) you must use
  94. ;   following line for extract:
  95. ;
  96. ;   OS2 Extract     Unzip -n -j -C %a %f
  97. ;
  98. End Archiver
  99. ;
  100. Archiver LHarc
  101.     Extension       LZH
  102.     Ident           2, 2d6c68           ; "-lh"
  103.     DOS Add         lha a /m %a %f
  104.     OS2 Add         lh a %a %f
  105.     DOS Extract     lha e /m %a %f
  106.     OS2 Extract     lh x %a %f /o
  107. End Archiver
  108. ;
  109. Archiver ARJ
  110.     Extension       ARJ
  111.     Ident           0, 60ea
  112.     DOS Add         arj a -e+ %a %f
  113.     OS2 Add         ;--- ARJ not supported under OS/2
  114.     DOS Extract     arj e -n %a %f
  115.     OS2 Extract     unarj e %a %f
  116. End Archiver
  117. ;
  118. Archiver RAR
  119.     Extension     RAR
  120.     Ident         0, 52617221
  121.     DOS Add       rar a %a %f
  122.     OS2 Add       rar a %a %f
  123.     OS2 Extract   unrar e %a %f
  124.     DOS Extract   rar e -o- %a %f
  125. End Archiver
  126. ;
  127. DOS Archiver UC
  128.     DOS Extension UC2
  129.     DOS Ident     0, 554332
  130.     DOS Add       uc A -F -S %a %f
  131.     DOS Extract   uc E -F -S %a %f
  132. DOS End Archiver
  133. ;
  134. DOS Archiver ZOO
  135. DOS     Extension       ZOO
  136. DOS     Ident           0,5a4f4f
  137. DOS     Add             zoo a: %a %f
  138. DOS     Extract         zoo e:O %a %f
  139. DOS     View            zoo v %a
  140. DOS End Archiver
  141. ;
  142.